package com.way.Java多线程编程核心技术v2.chapter02_对象及变量的并发访问._2_2_synchronized同步语句块.细化验证3个结论;

/**
 * @author 魏彪
 */
public class ThreadD extends Thread {

    private MyObject01 myObject01;

    public ThreadD(MyObject01 myObject01) {
        this.myObject01 = myObject01;
    }

    @Override
    public void run() {
        super.run();
        myObject01.speedPrintString();
    }
}
